package cz.schovjan.proj.dto;

import java.io.Serializable;

import javax.validation.constraints.Size;

/**
 * Trida reprezentuje pisen.
 * @author schovjan
 *
 */
public class Song implements Serializable {
	
	private static final long serialVersionUID = 1L;
	
	private int id;
	
	@Size(max=100, message="Český název má max. 100 znaků.")
	private String nameCs;
	
	@Size(max=100, message="Originální název má max. 100 znaků.")
	private String nameOriginal;
	
	@Size(max=100, message="Popis má max. 100 znaků.")
	private String description;
	
	@Size(max=50, message="Autor má max. 50 znaků.")
	private String author;
	
	@Size(max=50, message="Aranžér má max. 50 znaků.")
	private String arrange;
	

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getNameCs() {
		return nameCs;
	}

	public void setNameCs(String nameCs) {
		this.nameCs = nameCs;
	}

	public String getNameOriginal() {
		return nameOriginal;
	}

	public void setNameOriginal(String nameOriginal) {
		this.nameOriginal = nameOriginal;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}
	
	public String getArrange() {
		return arrange;
	}
	
	public void setArrange(String arrange) {
		this.arrange = arrange;
	}
	
	public String getAuthor() {
		return author;
	}

	public void setAuthor(String author) {
		this.author = author;
	}

	@Override
	public String toString() {
		return "Song [id=" + id + ", nameCs=" + nameCs + ", nameOriginal="
				+ nameOriginal + ", description=" + description + ", author="
				+ author + ", arrange=" + arrange + "]";
	}
	
}
